Piwik\Plugins\Goals\API C

Total Complexity 107
Dependencies 31
Dependents 1
Total lines 795
Lines of code 445
Logical lines of code 264
Comment lines 193
Methods 34
Properties 0

Methods 34

Method Rating Maintainability Complexity Lines of code
getMetrics()
C
34 26 85
enrichItemsTableWithViewMetrics()
A
46 10 37
getItems()
A
47 7 35
get()
S
44 6 43
enrichItemsDataTableWithItemsViewMetrics()
S
54 7 19
checkPatternIsValid()
S
59 6 13
getGoals()
S
56 4 18
renameNotDefinedRow()
S
61 4 12
checkPatternType()
S
60 3 14
checkPattern()
S
66 3 8
checkEventValueAsRevenue()
S
72 3 5
convertSpecialGoalIds()
S
66 3 9
formatGoal()
S
63 2 11
addGoal()
S
52 1 26
updateGoal()
S
52 1 25
getGoal()
S
68 2 7
getGoalSpecificDataTable()
S
65 2 8
getDaysToConversion()
S
65 1 8
getRevenue()
S
77 1 3
getNbVisitsConverted()
S
77 1 3
getVisitsUntilConversion()
S
65 1 8
getCacheId()
S
79 1 3
getConversionRate()
S
71 1 5
getItemsName()
S
77 1 3
getConversions()
S
77 1 3
getNumeric()
S
70 1 6
appendSegment()
S
79 1 3
getItemsCategory()
S
77 1 3
getItemsSku()
S
77 1 3
deleteGoal()
S
69 1 7
checkDescription()
S
80 1 3
checkName()
S
80 1 3
getModel()
S
81 1 3
getGoalsInfoStaticCache()
S
81 1 3